package net.csdra.libraryborrowing.domain;

import javax.persistence.Entity;

/**
 * Created by msf on 2017/10/12.
 * metaId为接收信息的用户
 */
@Entity
public class Message extends EntityBase {
    //发送内容
    String content;
    //是否已读
    boolean read;

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public boolean isRead() {
        return read;
    }

    public void setRead(boolean read) {
        this.read = read;
    }
}
